class MakeMoneyFieldsLarger < ActiveRecord::Migration
  def self.up
    change_column(:entries, :debit, :decimal, :scale => 0, :precision => 20)
    change_column(:entries, :credit, :decimal, :scale => 0, :precision => 20)
  end

  def self.down
    change_column(:entries, :debit, :integer)
    change_column(:entries, :credit, :integer)
  end
end
